package cn.crex1.microservice.oauth.service.impl;

import cn.crex1.microservice.common.vo.Result;
import cn.crex1.microservice.common.vo.UserVo;
import cn.crex1.microservice.oauth.service.UserService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

@Service
@Slf4j
public class UserServiceImpl implements UserService {
    @Override
    public Result<UserVo> findByUsername(String username) {
        log.info("调用{}失败","findByUsername");
        return Result.failure(100,"调用findByUsername接口失败");
    }
}
